import request from '@/utils/request'

export function getIndexImg (paramsData) {
  return request({
    url: '/mall4cloud_point/admin/listIndexImg',
    method: 'get',
    params: paramsData
  })
}

export function addIndexImg (data) {
  return request({
    url: '/mall4cloud_point/admin/addIndexImg',
    method: 'post',
    data
  })
}

export function deleteIndexImg (data) {
  return request({
    url: '/mall4cloud_point/admin/deleteIndexImg',
    method: 'post',
    data
  })
}
